<Controls:SinacorWindow
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  
  xmlns:Controls="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient;assembly=Sinacor.Infra.UI.Controls"
  xmlns:Local="clr-namespace:Sinacor.UI.Bovespa.Ordens.View.SmartClient"
	xmlns:control="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient;assembly=Sinacor.Infra.UI.Controls"
  xmlns:validation="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient.Validation;assembly=Sinacor.Infra.UI.Controls"
  xmlns:edit="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient.Edit;assembly=Sinacor.Infra.UI.Controls"
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:Custom="http://schemas.xceed.com/wpf/xaml/datagrid"
  x:Class="Sinacor.UI.Bovespa.Ordens.View.SmartClient.ResumoFinanceiro"
  Title="{DynamicResource Bovespa.ResumoFinanceiro.Label.ResumoFinanceiro}"
  WindowStartupLocation="CenterScreen" 
  WindowState="Maximized"
  ModuleId="ORD"
  ModulePlus="False"
  mc:Ignorable="d">

    <Controls:SinacorExpanderContainer x:Name="ResumoFinanceiroContainer">

        <!--Definição de linhas no Container-->
        <Controls:SinacorExpanderContainer.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="4"/>
            <RowDefinition Height="*" MinHeight="100"/>
            <RowDefinition Height="4"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="4"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="4"/>
            <RowDefinition Height="Auto"/>
        </Controls:SinacorExpanderContainer.RowDefinitions>

        <!--Expander de Filtros-->
        <Controls:SinacorExpander x:Name="exp0" Grid.Row="0" Header="{DynamicResource Bovespa.ResumoFinanceiro.Label.Pesquisa}" Panel.ZIndex="99" IsExpanded="True">
            <Grid>               
                <Controls:SinacorLabel x:Name="labelApelido"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Apelido}" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="80" HorizontalContentAlignment="Left" IsTargetFieldRequired="True" />
                <Controls:SinacorTextBox x:Name="textApelido" Text=""    MaxLines="1" HorizontalAlignment="Left" Width="135"  MaxLength="18" Margin="0,21,0,0" VerticalAlignment="Top" TabIndex="1" IsRequired="True" RequiredErrorMessage="Bovespa.Clientes.Message.ClienteObrigatorio" />
                <Controls:SinacorButton x:Name="buttonPesquisaCliente" Visibility="Visible"  Icon="IconButtonClient" TabIndex="2" HorizontalAlignment="Left" Margin="139,21,0,0" Click="buttonPesquisaCliente_Click" VerticalAlignment="Top" ClearServiceErrors="True" ToolTip="{DynamicResource Bovespa.ResumoFinanceiro.Tooltip.PesquisaCliente}" />
                <Controls:SinacorLabel x:Name="labelNomeCliente"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.NomeCliente}" Margin="165,0,0,0" Width="209" HorizontalAlignment="Left" VerticalAlignment="Top" HorizontalContentAlignment="Left" />
                <Controls:SinacorTextBox x:Name="textNomeCliente" Text="" TabIndex="3" IsEnabled="False" Margin="165,21,0,0" Width="209" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                <Controls:SinacorLabel   x:Name="labelData" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Data}" Margin="378,0,0,0" HorizontalAlignment="Left" Width="109" Height="Auto" VerticalAlignment="Top" HorizontalContentAlignment="Left" />
                <Controls:SinacorComboBox IsSynchronizedWithCurrentItem="True"  IsRequired="True" x:Name="comboData"  TabIndex="4" Width="109" HorizontalAlignment="Left" Margin="378,21,0,0" VerticalAlignment="Top" />

                <!--Group Box de Pesquisa-->
                <Controls:SinacorGroupBox Header="{DynamicResource Bovespa.ResumoFinanceiro.Label.Pesquisa}" Margin="491,0,0,0" Width="452" HorizontalAlignment="Left" VerticalAlignment="Top" Height="51">
                    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                        <Controls:SinacorRadioButton x:Name="radioCliente" Height="21" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Cliente}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="85" IsChecked="True" TabIndex="5"/>
                        <Controls:SinacorRadioButton x:Name="radioBroker" Height="21" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Broker}" VerticalAlignment="Top"  Margin="89,0,182,0" Width="Auto" TabIndex="6"/>
                        <Controls:SinacorRadioButton x:Name="radioFinanceiro" Height="21" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Financeiro}" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="188,0,0,0" Width="95" TabIndex="7"/>
                    </Grid>
                </Controls:SinacorGroupBox>

                <Controls:SinacorCheckBox  x:Name="checkboxSomenteContaSelecionada" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.SomenteContaSelecionada}" IsEnabled="True" Width="187" HorizontalAlignment="Left" Margin="0,65,0,0" VerticalAlignment="Top" TabIndex="8"   />
                <Controls:SinacorCheckBox  x:Name="checkboxContaInvestimento" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.ContaInvestimento}"  IsEnabled="False" Grid.IsSharedSizeScope="False" Width="148" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="191,65,0,0" TabIndex="9" />
                <Controls:SinacorCheckBox  x:Name="checkboxAnalitico" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Analitico}" IsChecked="True" Width="148" HorizontalAlignment="Left" Margin="343,65,0,0" VerticalAlignment="Top"  Checked="checkboxAnalitico_Checked" Unchecked="checkboxAnalitico_Checked" TabIndex="10" d:LayoutOverrides="HorizontalAlignment"/>
                <Controls:SinacorButton    x:Name="btnPesquisa"  Width="85"  Margin="491,65,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"  Visibility="Visible" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Pesquisar}" TabIndex="11" IsDefault="True" />
                <Controls:SinacorButton x:Name="NewSearch"  Visibility="Visible" TabIndex="12" VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.NovaPesquisa}" HorizontalAlignment="Left" Margin="580,65,0,0" Click="NewSearch_Click"  />

                <!--Navigator-->

                <Canvas Panel.ZIndex="99"  d:IsHidden="True" Grid.Row="2">
                    <Controls:SinacorNavigator  x:Name="navigatorPadrao"  NavigatorPlacement="Top" HorizontalAlignment="Left"  VerticalAlignment="Top" Margin="684,65,0,0" SelectionChanged="navigatorPadrao_SelectionChanged"  Panel.ZIndex="99" Width="260" >
                        <Controls:SinacorNavigator.ItemTemplate>
                            <DataTemplate>

                                <Grid Margin="0,2,0,0">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition/>
                                        <RowDefinition/>
                                    </Grid.RowDefinitions>

                                    <Controls:SinacorLabel x:Name="labeltextApelido" Content="{Binding Path=ApelidoCliente}" Grid.Row="1" Grid.Column="0"/>
                                    <Controls:SinacorLabel x:Name="LiquidoPara" Content="{Binding Path=PrazoLiquidacao}" Grid.Row="1" Grid.Column="1"/>
                                    <Controls:SinacorLabel x:Name="labelLiquidoNota" Grid.Row="1" Grid.Column="2" HorizontalAlignment="Left" Content="{Binding Path=ValorLiquidoNotaCorretagem}" />
                                </Grid>
                            </DataTemplate>
                        </Controls:SinacorNavigator.ItemTemplate>
                    </Controls:SinacorNavigator>
                </Canvas>

            </Grid>
        </Controls:SinacorExpander>

        <!--Expander do Grid de Descrição dos Negócios-->
        <Controls:SinacorExpander x:Name="exp1" Grid.Row="2" Header="{DynamicResource Bovespa.ResumoFinanceiro.Label.DescricaoNegocio}" Panel.ZIndex="1" IsExpanded="True">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                </Grid.RowDefinitions>

                <!--DataGrid Descrição de Negócios-->
                <Controls:SinacorDataGrid Grid.Row="0" x:Name="datagridDescricao" AllowDelete="False" Panel.ZIndex="1" ApplyingStyle="datagridDescricao_ApplyingStyle" >
                    <Controls:SinacorDataGrid.Columns>
                        <Controls:Column Name="CodigoBolsaMovimento" DisplayMemberPath="CodigoBolsaMovimento" Title="Bovespa.ResumoFinanceiro.Label.Praca" AllowInsert="False" AllowUpdate="False" HorizontalCellAlignment="Right" />
                        <Controls:Column Name="NaturezaOperacao" DisplayMemberPath="NaturezaOperacao" Title="Bovespa.ResumoFinanceiro.Label.CompraVenda" AllowInsert="False" AllowUpdate="False"  HorizontalCellAlignment="Center" />
                        <Controls:Column Name="TipoMercado" DisplayMemberPath="TipoMercado" Title="Bovespa.ResumoFinanceiro.Label.Mercado" AllowInsert="False" AllowUpdate="False" HorizontalCellAlignment="Center" />
                        <Controls:Column Name="CodigoNegocio" DisplayMemberPath="CodigoNegocio" Title="Bovespa.ResumoFinanceiro.Label.NumeroNegocio" AllowInsert="False" AllowUpdate="False" HorizontalCellAlignment="Right" />
                        <Controls:Column Name="EspecificacaoTitulo" DisplayMemberPath="EspecificacaoTitulo" Title="Bovespa.ResumoFinanceiro.Label.EspecificacaoTitulo" AllowInsert="False" AllowUpdate="False" />
                        <Controls:Column Name="QuantidadeEspecificadaCliente" DisplayMemberPath="QuantidadeEspecificadaCliente" Title="Bovespa.ResumoFinanceiro.Label.Quantidade" AllowInsert="False" AllowUpdate="False"  HorizontalCellAlignment="Right"  StringFormat ="N3"/>
                        <Controls:Column Name="ValorNegocio" DisplayMemberPath="ValorNegocio" Title="Bovespa.ResumoFinanceiro.Label.Preco" AllowInsert="False" AllowUpdate="False" StringFormat="N8" HorizontalCellAlignment="Right"  />
                        <Controls:Column Name="VolumeTotalNegocios" DisplayMemberPath="VolumeToralNegocios" Title="Bovespa.ResumoFinanceiro.Label.Volume" AllowInsert="False" AllowUpdate="False" HorizontalCellAlignment="Right" StringFormat="N2" />
                        <Controls:Column Name="TipoLancamento" DisplayMemberPath="TipoLancamento" Title="Bovespa.ResumoFinanceiro.Label.TipoLancamentoDC" AllowInsert="False" AllowUpdate="False" HorizontalCellAlignment="Center" />
                        <Controls:Column Name="PorcentagemReducaoAcrescimoCorretagem" DisplayMemberPath="PorcentagemReducaoAcrescimoCorretagem" Title="Bovespa.ResumoFinanceiro.Label.Porcentagem" AllowInsert="False" AllowUpdate="False" StringFormat="N8" HorizontalCellAlignment="Right"/>
                    </Controls:SinacorDataGrid.Columns>
                </Controls:SinacorDataGrid>
                <StackPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal" DockPanel.Dock="Left" Margin="0,4,0,0">
                    <Controls:SinacorLabel  Content="{DynamicResource Bovespa.Ordens.Label.Legenda}" x:Name="txtLegenda" HorizontalAlignment="Left" VerticalAlignment="Top" HorizontalContentAlignment="Left" Margin="0,0,0,0"/>
                    <Ellipse  Fill="{DynamicResource BrushGridRowBusiness06}" Width="15" Height="15" StrokeThickness="0" Margin="0,0,0,0"/>
                    <Controls:SinacorLabel  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.OperacaoNaoLiquidaNota}" x:Name="labelLegenda" HorizontalContentAlignment="Left" HorizontalAlignment="Left"  Width="Auto" />
                </StackPanel>
            </Grid>
        </Controls:SinacorExpander>


        <!--Expander de Resumo dos Negócios-->
        <Controls:SinacorExpander x:Name="exp3" Grid.Row="4" Header="{DynamicResource Bovespa.ResumoFinanceiro.Label.ResumoNegocios}" IsExpanded="True">
            <Grid x:Name="grdResumoN2" >
                <Controls:SinacorLabel x:Name="labelCompraaVista" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.CompraVista}" Width="89" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,25,0,0"/>
                <Controls:SinacorDecimalTextBox x:Name="textCompraaVista" Decimals="2" Integers="17" Text=""   Width="90"  IsEnabled="False" TabIndex="16" VerticalAlignment="Top" HorizontalAlignment="Left" IsFormated="True" Margin="93,25,0,0"  />
                <Controls:SinacorLabel x:Name="labelVendaaVista" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.VendaVista}" Width="89" Margin="0,50,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"  />
                <Controls:SinacorDecimalTextBox x:Name="textVendaaVista" Decimals="2" Integers="17"  Text=""   Width="90"  IsEnabled="False" TabIndex="14" Margin="93,50,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"  IsFormated="True"/>
                <Controls:SinacorLabel x:Name="labelTermo" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Termo}" VerticalAlignment="Top" Width="89" HorizontalAlignment="Left" Margin="0,75,0,0" />
                <Controls:SinacorDecimalTextBox x:Name="textTermo" Decimals="2"   Integers ="17" Text=""    Width="90" IsEnabled="False"   TabIndex="18" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="93,75,0,0" IsFormated="True"/>
                <Controls:SinacorLabel x:Name="labelOpcoesVendas"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.OpcoesVenda}"  Width="105" Margin="172,25,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                <Controls:SinacorDecimalTextBox x:Name="textOpcoesVendas" Decimals="2"   Integers="17" Text=""  Width="75"  IsEnabled="False" TabIndex="15" IsFormated="True" HorizontalAlignment="Left" Margin="281,25,0,0" VerticalAlignment="Top" />
                <Controls:SinacorLabel x:Name="labelOpcoesCompra"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.OpcoesCompra}" Width="105" Margin="172,50,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                <Controls:SinacorDecimalTextBox x:Name="textOpcoesCompra" Decimals="2" Integers="17" Text=""  Width="75"    IsEnabled="False" TabIndex="17" VerticalAlignment="Top" IsFormated="True" HorizontalAlignment="Left" Margin="281,50,0,0"  />
                <Controls:SinacorLabel  x:Name="labelDebentures" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Debentures}"   Width="89" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="180,75,0,0" />
                <Controls:SinacorDecimalTextBox x:Name="textDebentures" Decimals= "2" Integers="17"  Text=""  Width="75" IsEnabled="False" TabIndex="19" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="281,75,0,0" IsFormated="True" />
                <Controls:SinacorLabel x:Name="labelTotal"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Total}"   Width="50" HorizontalAlignment="Left" Margin="724,25,0,0" VerticalAlignment="Top"   />
                <Controls:SinacorDecimalTextBox x:Name="textTotal1" Integers="17" Decimals="2"  Text="" Width="136"  IsEnabled="False" TabIndex="13" IsFormated="True" HorizontalAlignment="Left" Margin="778,25,0,0" VerticalAlignment="Top" />

                <!--Group Box Futuro Reajustes-->
                <Controls:SinacorGroupBox Margin="360,0,0,0" x:Name="grbFuturoAjustes1" VerticalAlignment="Top" HeaderStringFormat="" Width="360" Header="{DynamicResource Bovespa.ResumoFinanceiro.Label.Futuro}" HorizontalAlignment="Left" Height="101"  >
                    <Grid >
                        <Controls:SinacorLabel x:Name="labelDiarioF"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Diario}"     Width="60" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" BorderBrush="Black"  />
                        <Controls:SinacorDecimalTextBox x:Name="textDiarioF" Integers="18" Decimals="2"  Text=""  TabIndex="20" Width="75"    IsEnabled="False" VerticalAlignment="Top"  Margin="64,0,0,0"  HorizontalAlignment="Left" />
                        <Controls:SinacorDecimalTextBox x:Name="textPosicoesF" Integers="17" Decimals="2"  Text=""   Width="75"  IsEnabled="False" TabIndex="22" Margin="64,25,0,0" IsFormated="True" HorizontalAlignment="Left" VerticalAlignment="Top" />
                        <Controls:SinacorLabel x:Name="labelPosicoesF"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Posicoes}"   Height="Auto"  Width="60" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,25,0,0" />
                        <Controls:SinacorLabel x:Name="labelDayTradeF"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.DayTrade}"    Width="60" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,50,0,0" Height="Auto" />
                        <Controls:SinacorDecimalTextBox x:Name="textDayTradeF" Integers="17" Decimals="2"  Text=""   TabIndex="24"  Width="75"   IsEnabled="False" VerticalAlignment="Top" Margin="64,50,0,0" IsFormated="True" HorizontalAlignment="Left" />
                        <Controls:SinacorLabel x:Name="labelVendaFuturo"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.VendaFuturo}"  Width="81" Margin="153,0,0,0" HorizontalAlignment="Left"  />
                        <Controls:SinacorDecimalTextBox x:Name="textVendaFuturo" Integers="17" Decimals="2"  Text=""  Width="75" IsEnabled="False"  IsFormated="True" TabIndex="21" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="239,0,0,0"  />
                        <Controls:SinacorLabel x:Name="labelCompraFuturo"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.CompraFuturo}"  Width="81"  Height="21"  Margin="153,25,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"  />
                        <Controls:SinacorDecimalTextBox x:Name="textCompraFuturo" Integers="17" Decimals="2"  Text=""   Width="75"  IsEnabled="False"   TabIndex="23"  IsFormated="True" Margin="239,25,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                        <Controls:SinacorLabel x:Name="labelFuturo"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Futuro}"  Width="81"  Margin="153,50,0,0" HorizontalAlignment="Left" />
                        <Controls:SinacorDecimalTextBox x:Name="textFuturo" Integers="17" Decimals="2"  IsFormated="True" Text=""   Width="75" IsEnabled="False"  TabIndex="25" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="239,50,0,0" />
                    </Grid>
                </Controls:SinacorGroupBox>

            </Grid>
        </Controls:SinacorExpander>

        <!--Expander de Resumo Financeiro-->
        <Controls:SinacorExpander x:Name="exp4" Grid.Row="6" Header="{DynamicResource Bovespa.ResumoFinanceiro.Label.ResumoFinanceiro}" IsExpanded="True">
            <Grid x:Name="grdResumoF2">
                <Controls:SinacorLabel x:Name="labelDescontoCorretagem" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.DescontoCorretagem}" Width="155" Grid.RowSpan="1"    Grid.IsSharedSizeScope="False" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,0,0,0" HorizontalContentAlignment="Left" />
                <Controls:SinacorDecimalTextBox x:Name="textDescontoCorretagem" AcceptsNegative = "True" Text=""  Width="145"  Margin="0,20,0,0" TabIndex="29" IsEnabled="True" Decimals="8" IsFormated="True" Integers="4"  HorizontalAlignment="Left" VerticalAlignment="Top" LostFocus="textDescontoCorretagem_LostFocus" GotFocus="textDescontoCorretagem_GotFocus"  />
                <Controls:SinacorLabel x:Name="labelDescontoCadastrado" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.DescontoCadastrado}" Width="161" Grid.RowSpan="1"   Grid.IsSharedSizeScope="False" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="149,0,0,0" HorizontalContentAlignment="Left"  />
                <Controls:SinacorDecimalTextBox x:Name="textDescontoCadastrado" AcceptsNegative = "True" Text=""  Width="161"  Margin="149,20,0,0" TabIndex="29" IsFormated="True" IsEnabled="False"  Decimals="9" Integers="4"  HorizontalAlignment="Left" VerticalAlignment="Top"  />
                <Controls:SinacorLabel x:Name="labelCorretagemTotal"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Corretagem}"   Width="139" Height="Auto" Margin="314,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" HorizontalContentAlignment="Left"  />
                <Controls:SinacorDecimalTextBox x:Name="textCorretagemTotal" AcceptsNegative = "False" Text=""  Width="140" Decimals="2" IsFormated="True" Integers="15"   TabIndex="30" Margin="314,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" LostFocus="textCorretagemTotal_LostFocus"/>
                <Controls:SinacorLabel x:Name="labelLiquidodaNota"    Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.LiquidoNota}"   Width="131" HorizontalContentAlignment="Left" Margin="458,0,0,0" HorizontalAlignment="Left" />
                <Controls:SinacorDecimalTextBox x:Name="textLiquidodaNota" AcceptsNegative = "True" Text="" Decimals="2" Integers="15" TabIndex="31" Width="133" IsFormated="True" Margin="457,20,0,0"  HorizontalAlignment="Left" VerticalAlignment="Top" />
                <Controls:SinacorLabel x:Name="labelLiquidodaNotaPara"    Width="109" HorizontalContentAlignment="Left" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.LiquidoPara}" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="593,0,0,0"/>
                <Controls:SinacorDatePicker x:Name="textLiquidodaNotaPara" TabIndex="33"  IsEnabled="False" Margin="593,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" LostFocus="textLiquidodaNota_LostFocus"/>
                <Controls:SinacorCheckBox  x:Name="checkboxCorretagem" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.CorretagemComIssReverso}" Width="180" TabIndex="33" IsEnabled="True" Margin="706,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                <Controls:SinacorButton  x:Name="buttonCalcula" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Calcular}" FontSize="12" Width="65" Click="buttonCalcula_Click" TabIndex="10" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="882,20,0,0"  IsEnabled="False"   />
            </Grid>
        </Controls:SinacorExpander>

        <!--Expander de Detalhe Financeiro -->
        <Controls:SinacorExpander x:Name="exp5" Grid.Row="8" Header= "{DynamicResource Bovespa.ResumoFinanceiro.Label.DetalheFinanceiro}" IsExpanded="False">
            <Grid>

                <!--Group Box de Corretagem-->
                <Controls:SinacorGroupBox Header = "{DynamicResource Bovespa.ResumoFinanceiro.Label.Corretagem}"  x:Name="grbCorretagemD" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Height="173" Width="383"  >
                    <Grid x:Name="grdCorretagem1" >
                        <Controls:SinacorDecimalTextBox x:Name="textTotalC" AcceptsNegative = "True" Integers="18" Decimals="2"   Text=""  TabIndex="35" IsFormated="True" VerticalAlignment="Top"  IsEnabled="False"  Width="75" Margin="106,0,0,0"  HorizontalAlignment="Left"/>
                        <Controls:SinacorLabel x:Name="labelAcrescimoC"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.PorcentagemReducaoAcrescimoCorretagem}" Width="102" Margin="0,25,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"  />
                        <Controls:SinacorDecimalTextBox x:Name="textAcrescimoC" AcceptsNegative = "True"  Integers="18" Decimals="2"  Text=""  TabIndex="40"     IsEnabled="False" Width="75" VerticalAlignment="Top" IsFormated="True" Margin="106,25,0,0" HorizontalAlignment="Left"/>
                        <Controls:SinacorDecimalTextBox x:Name="textCorrespondenteC" AcceptsNegative = "True" Integers="18" Decimals="2"  IsFormated="True" Text=""  Margin="293,0,0,0"   IsEnabled="False" TabIndex="36"  Width="75" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                        <Controls:SinacorLabel x:Name="labelCorrespondenteC"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Correspondente}"   Width="100" VerticalAlignment="Top" Margin="189.25,0,0,0" HorizontalAlignment="Left"    />
                        <Controls:SinacorLabel x:Name="labelTotalC"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Total}" Width="102" Margin="0,0,0,0" HorizontalAlignment="Left" />
                        <Controls:SinacorDecimalTextBox x:Name="textIRRFC" AcceptsNegative = "True"  Integers="18" Decimals="2"  Text=""   IsEnabled="False" TabIndex="43" Width="75" VerticalAlignment="Top" IsFormated="True" Margin="106,100,0,0" HorizontalAlignment="Left"/>
                        <Controls:SinacorLabel x:Name="labelIRRFC"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.IRRF}"  Width="100" VerticalAlignment="Top" Margin="0,100,0,0" HorizontalAlignment="Left"  />
                        <Controls:SinacorLabel x:Name="labelISSC"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.ISS}"     Height="21"     Width="81.73"  Margin="207.52,50,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        <Controls:SinacorDecimalTextBox x:Name="textISSC" AcceptsNegative = "True"  Integers="18" Decimals="2"  Text=""  TabIndex="44"   IsFormated="True" Width="75"    IsEnabled="False"  HorizontalAlignment="Left" Margin="293,50,0,0" VerticalAlignment="Top" />
                        <Controls:SinacorTextBox x:Name="textIssCC"  Text=""  HorizontalAlignment="Left" IsEnabled="False" TabIndex="42" VerticalAlignment="Top" Margin="106,75,0,0" Width="262.25"/>
                        <Controls:SinacorLabel x:Name="labelIssCC"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.ISSCorretagem}" HorizontalAlignment="Left" SnapsToDevicePixels="False" VerticalAlignment="Top" Margin="0,75,0,0" Width="100" />
                        <Controls:SinacorDecimalTextBox x:Name="textLiquida" AcceptsNegative = "True" Integers="18" Decimals="2" Text=""  IsEnabled="False" TabIndex="38"  Width="75" IsFormated="True" Margin="106,50,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        <Controls:SinacorLabel x:Name="labelLiquida"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Liquida}"  Width="100" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,50,0,0"   />
                        <Controls:SinacorDecimalTextBox x:Name="textIRRFdt" AcceptsNegative = "True" Integers="18" Decimals="2"  Text="" Width="75"  IsEnabled="False" TabIndex="45" VerticalAlignment="Top"  IsFormated="True" HorizontalAlignment="Left" Margin="293,100,0,0" />
                        <Controls:SinacorLabel x:Name="labelIRRFdt"      Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.IRRFDayTrade}"     Width="100" VerticalAlignment="Top"  Margin="189,100,0,0" Height="18.667" HorizontalAlignment="Left"    />
                        <Controls:SinacorLabel x:Name="labelIRRFdtCont"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.IRRFDayTradeCont}" Width="100" VerticalAlignment="Top"  Margin= "189,115,0,0" Height="18.667" HorizontalAlignment="Left"    />
                    </Grid>
                </Controls:SinacorGroupBox>

                <!--Group Box de Emolumento-->
                <Controls:SinacorGroupBox   Header = "{DynamicResource Bovespa.ResumoFinanceiro.Label.Emolumento}" x:Name="grbEmolumentosD" Height="173" Margin="387,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="193" >
                    <Grid>
                        <Controls:SinacorLabel x:Name="labelOperacoesFinaisE"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.OperacoesFinais}"  Width="100" Margin="0,0,0,0"  HorizontalAlignment="Left"/>
                        <Controls:SinacorDecimalTextBox x:Name="textOperacoesFinaisE1" AcceptsNegative = "True" Integers="18" Decimals="2"  Text=""  TabIndex="46" Width="75"  IsEnabled="False" VerticalAlignment="Top" Margin="104,0,0,0" IsFormated="True" HorizontalAlignment="Left"/>
                        <Controls:SinacorDecimalTextBox x:Name="textCarteiraPropriaE1" AcceptsNegative = "True"  Integers="18" Decimals="2" Text=""   IsEnabled="False" TabIndex="47" Width="75" IsFormated="True" Margin="104,25,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        <Controls:SinacorLabel x:Name="labelCarteiraPropriaE1" Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.CarteiraPropria}"   Width="100" Margin="0,25,0,0"  HorizontalAlignment="Left" />
                        <Controls:SinacorLabel x:Name="labelDayTradesE"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.DayTrade}"  Width="100" VerticalAlignment="Top" Margin="0,50,0,0"  HorizontalAlignment="Left" />
                        <Controls:SinacorDecimalTextBox x:Name="textDayTradesE" Integers="18" Decimals="2"  Text="" TabIndex="48" Width="75" IsEnabled="False"  IsFormated="True" Margin="104,50,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                        <Controls:SinacorLabel x:Name="labelTxLiquidacao"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.TaxaLiquidacao}" Width="100" VerticalAlignment="Top" Margin="0,104,0,0" HorizontalAlignment="Left"/>
                        <Controls:SinacorDecimalTextBox x:Name="textTxLiquidacao" AcceptsNegative = "True"  Integers="18" Decimals="2" Text=""  Width="75" IsEnabled="False" VerticalAlignment="Top" Margin="104,100,0,0" IsFormated="True" HorizontalAlignment="Left" />
                        <Controls:SinacorLabel x:Name="labelEmolumento"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.Emolumento}"    Width="100" VerticalAlignment="Top" Margin="0,75,0,0"  HorizontalAlignment="Left" />
                        <Controls:SinacorDecimalTextBox x:Name="textEmolumento" AcceptsNegative = "True"   Integers="18" Decimals="2"  Text=""  Width="75" IsEnabled="False" TabIndex="49" IsFormated="True" Margin="104,75,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                    </Grid>
                </Controls:SinacorGroupBox>

                <!--Group Box de Taxa de Registro-->
                <Controls:SinacorGroupBox  x:Name="grbTxRegistroD" Height="173" Header="{DynamicResource Bovespa.ResumoFinanceiro.Label.TxRegistro}" Margin="584,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" >
                    <Grid >
                        <Controls:SinacorLabel x:Name="labelOperacoesFinaisT"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.OperacoesFinais}"  Width="100" Margin="0,0,0,0" HorizontalAlignment="Left"/>
                        <Controls:SinacorDecimalTextBox x:Name="textOperacoesFinaisT" AcceptsNegative = "True"  Integers="18" Decimals="2"  Text=""  TabIndex="51" Width="75"  IsEnabled="False" VerticalAlignment="Top" IsFormated="True" HorizontalAlignment="Left" Margin="104,0,0,0"/>
                        <Controls:SinacorDecimalTextBox x:Name="textCarteiraPropriaT" AcceptsNegative = "True"  Integers="18" Decimals="2"  Text=""   Width="75" IsEnabled="False" TabIndex="52" VerticalAlignment="Top" IsFormated="True" HorizontalAlignment="Left" Margin="104,50,0,0"/>
                        <Controls:SinacorLabel x:Name="labelCarteiraPropriaT"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.CarteiraPropria}"    Width="100" VerticalAlignment="Top" Margin="0,50,0,0" HorizontalAlignment="Left"/>
                        <Controls:SinacorLabel x:Name="labelDayTradesT"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.DayTrade}"     Width="100" Margin="0,25,0,0" HorizontalAlignment="Left" />
                        <Controls:SinacorDecimalTextBox x:Name="textDayTradesT" AcceptsNegative = "True"   Integers="18" Decimals="2"  Text=""   TabIndex="53"    Width="75"    IsEnabled="False"  Margin="104,25,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        <Controls:SinacorDecimalTextBox x:Name="textTxRegistroBolsa" AcceptsNegative = "True"  Integers="18" Decimals="2"  Text=""  Width="75"    IsFormated="True" IsEnabled="False" TabIndex="54" VerticalAlignment="Top"  HorizontalAlignment="Left" Margin="104,75,0,0" />
                        <Controls:SinacorLabel x:Name="labelTxRegistroBolsa"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.TaxaRegistroBolsa}"   Width="100" VerticalAlignment="Top" Margin="0,75,0,0"   HorizontalAlignment="Left"   />
                        <Controls:SinacorDecimalTextBox x:Name="textTxRegistroCBLC" AcceptsNegative = "True"  Integers="18" Decimals="2"  Text=""  Width="75"   IsEnabled="False" TabIndex="54" Margin="104,100,0,0" IsFormated="True" VerticalAlignment="Top" HorizontalAlignment="Left"  />
                        <Controls:SinacorLabel x:Name="labelTxRegistroCBLC"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.TaxaRegistroCBLC}" Margin="0,104,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="100" />
                    </Grid>
                </Controls:SinacorGroupBox>

                <!--Group Box de Taxa-->
                <Controls:SinacorGroupBox x:Name="grdTaxas" Height="173"  Header="{DynamicResource Bovespa.ResumoFinanceiro.Label.Taxa}" Margin="788,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="168" >
                    <Grid Margin="0,0,0,0">
                        <Controls:SinacorLabel x:Name="labelPTANT"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.PTAN}"  Width="90" HorizontalAlignment="Left" Margin="0,0,0,0" />
                        <Controls:SinacorDecimalTextBox x:Name="textPTANT" AcceptsNegative = "True"  Integers="18" Decimals="2" Text=""  TabIndex="55"    IsEnabled="False"  IsFormated="True" Width="60" Margin="94,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                        <Controls:SinacorDecimalTextBox x:Name="textIOFT"  AcceptsNegative = "True"  Integers="18" Decimals="2"  Text=""  IsEnabled="False" IsFormated="True" TabIndex="56"  Width="60" Margin="94,25,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" />
                        <Controls:SinacorLabel x:Name="labelIOFT"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.IOF}"    Width="90" HorizontalAlignment="Left" Margin="0,25,0,0" />
                        <Controls:SinacorLabel x:Name="labelANAT"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.ANA}"    Width="90" HorizontalAlignment="Left" Margin="0,50,0,0" VerticalAlignment="Top" Height="21" />
                        <Controls:SinacorDecimalTextBox x:Name="textANAT" AcceptsNegative = "True"   Integers="18" Decimals="2"  IsFormated="True" Text="" Width="60"   IsEnabled="False" Margin="94,50,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                        <Controls:SinacorDecimalTextBox x:Name="textOutrasDespesasT" AcceptsNegative = "True" Integers="18" Decimals="2"  Text=""   Width="60"   IsFormated="True" IsEnabled="False" TabIndex="58" Margin="94,75,0,0" VerticalAlignment="Top"  HorizontalAlignment="Left" />
                        <Controls:SinacorLabel x:Name="labelOutrasDespesasT"  Content="{DynamicResource Bovespa.ResumoFinanceiro.Label.OutrasDespesas}"   Margin="0,75,0,0"   Width="90" HorizontalAlignment="Left"/>
                    </Grid>
                </Controls:SinacorGroupBox>

            </Grid>
        </Controls:SinacorExpander>

    </Controls:SinacorExpanderContainer>
</Controls:SinacorWindow>

